import request from '@/utils/request'
import scope from './scope'
const apiPrefix = `${process.env.VUE_APP_BASE_IOT_API}/${scope}/EmptyFlowSpeedFictitious/`

// 虚量限速配置
export const getEmptyQuantityLimitVelocity = (params, config = {}) => {
    return request.get(apiPrefix + params.id, { params: params, ...config })
}
export const emptyQuantityAddUpdate = (params, config = {}) => {
    return request.post(apiPrefix+"empty-quantity/add-update", params, config)
}
export const limitVelocityAddUpdate = (params, config = {}) => {
    return request.post(apiPrefix+"limit-velocity/add-update", params, config)
}